interface MenuItem {
    text: string
    path: string
    index: string
}
const menuItems: MenuItem[] = [
    {
        text: '首页',
        path: '/',
        index: "0"
    },
    // 更多菜单项...
]

 menuItems